package Objects;

public class RouterMapping {
	private String nodeID;
	private String IP;
	private int abstractPort;
	private int actualPort;
	
	public RouterMapping(String nodeID, String IP, int abstractPort, int actualPort){
		this.nodeID = nodeID;
		this.IP = IP;
		this.abstractPort = abstractPort;
		this.actualPort = actualPort;
	}
	
	public String getNodeID() {
		return nodeID;
	}
	public void setNodeID(String nodeID) {
		this.nodeID = nodeID;
	}
	public String getIP() {
		return IP;
	}
	public void setIP(String iP) {
		IP = iP;
	}
	public int getAbstractPort() {
		return abstractPort;
	}
	public void setAbstractPort(int abstractPort) {
		this.abstractPort = abstractPort;
	}
	public int getActualPort() {
		return actualPort;
	}
	public void setActualPort(int actualPort) {
		this.actualPort = actualPort;
	}
	@Override
	public String toString() {
		return "Map [nodeID=" + nodeID + ", IP=" + IP + ", abstractPort=" + abstractPort + ", actualPort="
				+ actualPort + "]";
	}
}
